The Occurrence Number
Many statements allow you to specify which occurrence of a multi-occurrence field you want to compare or operate on. For example:
The left-hand field in this example refers to the first occurrence of the field COUNT in the TGL application, and the right-hand field refers to the second occurrence of the field COUNT. You indicate if a field is to have more than one occurrence as a specification in the data dictionary. Occurrence vs Appearance. A field may appear on an image multiple times. A field with an Occurrence number is unique onto itself. If there are two fields on an image, WORK ADDRESS OCC 001 and WORK ADDRESS OCC 002 and the second occurrence value is changed, Appx will recognize that change and display the new value. If, however, WORK ADDRESS (no OCC) is on an image more than once you must identify these instances with the Appearance parameter. |